/* ==================
          按钮
 ==================== */

.cu-btn {
    position: relative;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 30*1upx;
    font-size: 28*1upx;
    height: 64*1upx;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    overflow: visible;
    margin-left: initial;
    transform: translate(0, 0);
    margin-right: initial;
}

.cu-btn::after {
    display: none;
}

.cu-btn:not([class*="bg-"]) {
    background-color: #f0f0f0;
}

.cu-btn[class*="line"] {
    background-color: transparent;
}

.cu-btn[class*="line"]::after {
    content: " ";
    display: block;
    width: 200%;
    height: 200%;
    position: absolute;
    top: 0;
    left: 0;
    border: 1*1upx solid currentColor;
    transform: scale(0.5);
    transform-origin: 0 0;
    box-sizing: border-box;
    border-radius: 12*1upx;
    z-index: 1;
    pointer-events: none;
}

.cu-btn.round[class*="line"]::after {
    border-radius: 1000*1upx;
}

.cu-btn[class*="lines"]::after {
    border: 6*1upx solid currentColor;
}

.cu-btn[class*="bg-"]::after {
    display: none;
}

.cu-btn.sm {
    padding: 0 20*1upx;
    font-size: 20*1upx;
    height: 48*1upx;
}

.cu-btn.lg {
    padding: 0 40*1upx;
    font-size: 32*1upx;
    height: 80*1upx;
}

.cu-btn.cuIcon.sm {
    width: 48*1upx;
    height: 48*1upx;
}

.cu-btn.cuIcon {
    width: 64*1upx;
    height: 64*1upx;
    border-radius: 500*1upx;
    padding: 0;
}

button.cuIcon.lg {
    width: 80*1upx;
    height: 80*1upx;
}

.cu-btn.shadow-blur::before {
    top: 4*1upx;
    left: 4*1upx;
    filter: blur(6*1upx);
    opacity: 0.6;
}

.cu-btn.button-hover {
    transform: translate(1*1upx, 1*1upx);
}

.block {
    display: block;
}

.cu-btn.block {
    display: flex;
}

.cu-btn[disabled] {
    opacity: 0.6;
    color: #ffffff;
}


//扩展

.cu-btn.xl {
    padding: 0 40*1upx;
    font-size: 32*1upx;
    height: 94*1upx;
}

button.cu-btn-disabled {
    opacity: 0.4;
}

button {
    border-radius: 2*2upx;
}
